package com.youdoneed.news.model;

import java.util.Date;

import com.youdoneed.news.model.CmfAuthors;

import io.swagger.annotations.ApiModelProperty;

public class CmfPostsListVo {
	
	@ApiModelProperty(value = "主键id")
    private Long id;
	
	@ApiModelProperty(value = "评论数")
    private Long commentCount;
	
	@ApiModelProperty(value = "浏览次数")
	private Integer postHits;
	
	@ApiModelProperty("点赞数")
	private Integer postLike;
	
	@ApiModelProperty(value = "新闻发表日期，前台显示")
    private Integer showDate;
	
	@ApiModelProperty(value = "新闻栏目布局信息，article_news--新闻 ， article_video--视频， article_pics--图片")
	private String oneTpl;
	
	@ApiModelProperty(value = "布局类型信息")
	private String tpl;
	
	@ApiModelProperty("标题")
    private String postTitle;
	
	@ApiModelProperty("原新闻链接")
	private String newsUrl;
	
	@ApiModelProperty("文章详情内容")
	private String postContent; 
	
	@ApiModelProperty(value = "摘要")
    private String postExcerpt;
	
	@ApiModelProperty(value = "文章列表布局信息,'listLayout': {'layout_type': '2', 'layout_imgs': '376d19f4-add1-418c-83d1-7a388a162f59' , 'template':'article_pics'},0 只有一个标题,1 上标题 下三个图,2 上标题 下一个图,3 左标题 右一个图,4 右标题 左一个图")
    private String listLayout;
	
	@ApiModelProperty(value = "新闻作者、来源id")
    private Long authorId;
	
	@ApiModelProperty(value = "作者信息对象")
    private CmfAuthors authors;
	
	@ApiModelProperty(value = "是否已点赞,0:未点赞，1:点赞")
	private Integer hasPraised;
    
	public String getTpl() {
		return tpl;
	}

	public void setTpl(String tpl) {
		this.tpl = tpl;
	}

	public String getNewsUrl() {
		return newsUrl;
	}

	public void setNewsUrl(String newsUrl) {
		this.newsUrl = newsUrl;
	}

	public Integer getHasPraised() {
		return hasPraised;
	}

	public void setHasPraised(Integer hasPraised) {
		this.hasPraised = hasPraised;
	}
    
	public Integer getPostHits() {
		return postHits;
	}

	public void setPostHits(Integer postHits) {
		this.postHits = postHits;
	}

	public Integer getPostLike() {
		return postLike;
	}

	public void setPostLike(Integer postLike) {
		this.postLike = postLike;
	}

	public String getPostContent() {
		return postContent;
	}

	public void setPostContent(String postContent) {
		this.postContent = postContent;
	}

	public String getOneTpl() {
		return oneTpl;
	}

	public void setOneTpl(String oneTpl) {
		this.oneTpl = oneTpl;
	}

	public Long getAuthorId() {
		return authorId;
	}

	public void setAuthorId(Long authorId) {
		this.authorId = authorId;
	}	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Long commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getShowDate() {
		return showDate;
	}

	public void setShowDate(Integer showDate) {
		this.showDate = showDate;
	}

	public String getPostTitle() {
		return postTitle;
	}

	public void setPostTitle(String postTitle) {
		this.postTitle = postTitle;
	}

	public String getPostExcerpt() {
		return postExcerpt;
	}

	public void setPostExcerpt(String postExcerpt) {
		this.postExcerpt = postExcerpt;
	}

	public String getListLayout() {
		return listLayout;
	}

	public void setListLayout(String listLayout) {
		this.listLayout = listLayout;
	}

	public CmfAuthors getAuthors() {
		return authors;
	}

	public void setAuthors(CmfAuthors authors) {
		this.authors = authors;
	}

}
